:root {
  --primary-color: #2563eb;
  --secondary-color: #f0f4ff;
  --text-dark: #1f2937;
  --text-light: #6b7280;
}

/* 全局滚动和基础样式 */
html {
  scroll-behavior: smooth; /* 平滑滚动效果 */
}

body {
  /* 确保没有阻止滚动的样式 */
  overflow-x: hidden;
}

.landing-page {
  width: 100%;
  overflow-x: hidden;
  color: var(--text-dark);
  background-color: #fff;
}

.landing-page.product-showcase {
  width: 100%;
  /* overflow-x: hidden; */ /* 移除或注释掉，让 body 处理 */
  background-color: #fff; /* 默认背景 */
  color: #1a1a1a; /* 主要文字颜色 */
  font-family: "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif; /* 更适合中文的字体栈 */
  display: flex; /* 使用 flex 布局 */
  flex-direction: column; /* 垂直排列 sections */
}

.landing-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1rem;
  overflow-y: hidden;
}

/* 导航栏 */
.landing-nav {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  padding: 1rem 0;
  background-color: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(10px);
  z-index: 100;
  border-bottom: 1px solid rgba(182, 172, 172, 0.05);
  transition: background-color 0.3s ease;
}

.showcase-nav {
  background-color: rgba(255, 255, 255, 0.7); /* 半透明 */
  backdrop-filter: saturate(180%) blur(20px);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  position: fixed; /* 固定在顶部 */
  top: 0;
  left: 0;
  width: 100%;
  z-index: 100;
  border-bottom: 1px solid rgba(0, 0, 0, 0.08);
  padding: 0.8rem 0;
  transition: background-color 0.3s ease;
}

.landing-nav-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.landing-logo {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--primary-color);
}

.showcase-logo {
  font-size: 1.3rem;
  font-weight: 600;
}

.landing-login-btn {
  background-color: var(--primary-color);
  color: white;
  padding: 0.6rem 1.2rem;
  border-radius: 6px;
  text-decoration: none;
  font-weight: 500;
  transition: background-color 0.3s ease;
  border: none; /* 确保是按钮样式 */
  cursor: pointer;
}

.showcase-cta-nav {
  background-color: #007aff; /* 鲜艳的蓝色 */
  color: white;
  padding: 0.6rem 1.2rem;
  border-radius: 980px;
  font-size: 0.95rem;
  font-weight: 500;
  border: none;
  cursor: pointer;
  transition: background-color 0.3s ease, transform 0.2s ease;
}

.showcase-cta-nav:hover {
  background-color: #0056b3;
  transform: scale(1.05);
}

.landing-login-btn:hover {
  background-color: #1d4ed8;
}

/* Hero Section 简化 */
.simple-hero {
  min-height: 60vh; /* 减小高度 */
  background: linear-gradient(135deg, var(--secondary-color), #e0e7ff); /* 简化背景 */
  padding-top: 80px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}

/* 定义渐变动画 */
@keyframes gradientShift {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

/* Hero Section */
.hero-section-fullpage {
  background: linear-gradient(135deg, #c8d8ff 0%, #f0f4ff 50%, #b0c8ff 100%);
  background-size: 400% 400%;
  animation: gradientShift 10s linear infinite;
  color: #1a1a1a;
  text-align: center;
}

.hero-content-centered {
  z-index: 2;
  position: relative;
}

.showcase-headline {
  font-size: 4.5rem; /* 磅礴的标题 */
  font-weight: 700;
  line-height: 1.15;
  margin-bottom: 1.5rem;
  letter-spacing: -0.02em;
}

.showcase-subheadline {
  font-size: 1.6rem;
  color: #555;
  margin-bottom: 3rem;
  max-width: 650px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.5;
}

.showcase-cta-main {
  background-color: #007aff;
  color: white;
  padding: 1rem 2.5rem;
  border-radius: 980px;
  font-size: 1.2rem;
  font-weight: 500;
  border: none;
  cursor: pointer;
  transition: background-color 0.3s ease, transform 0.2s ease;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  box-shadow: 0 8px 20px rgba(0, 122, 255, 0.25);
}

.showcase-cta-main:hover {
  background-color: #0056b3;
  transform: scale(1.05);
}

.scroll-down-indicator {
  position: absolute;
  bottom: 50px; /* 增加距离底部的距离 */
  left: 50%;
  transform: translateX(-50%);
  font-size: 1.8rem;
  color: #888;
  animation: bounceUpDown 2s infinite;
  cursor: pointer;
  z-index: 3;
}

@keyframes bounceUpDown {
  0%, 100% { transform: translate(-50%, 0); }
  50% { transform: translate(-50%, 10px); }
}

.hero-background-overlay { /* 可选：添加微妙的背景效果 */
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  /* background: radial-gradient(circle at center, rgba(255,255,255,0.1), rgba(255,255,255,0) 70%); */
  z-index: 1;
  opacity: 0.5;
}

/* 确保 Hero CTA 按钮样式存在 */
.hero-cta-btn {
  background-color: var(--primary-color);
  color: white;
  padding: 0.8rem 2.5rem;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 600;
  font-size: 1.1rem;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(37, 99, 235, 0.3);
  border: none;
  cursor: pointer;
  display: inline-block; /* 确保是块级或行内块级元素 */
  margin-top: 1rem; /* 可能需要调整与其他元素的间距 */
}

.hero-cta-btn:hover {
  background-color: #1d4ed8;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(37, 99, 235, 0.4);
}

/* 调整 Hero 内容 */
.simple-hero h1 {
  font-size: 3rem; /* 可根据需要调整 */
  margin-bottom: 1rem;
}
.simple-hero p {
  font-size: 1.2rem;
  color: var(--text-light);
  margin-bottom: 2rem;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

/* 通用详细 Section 样式 */
.detailed-section {
  padding: 5rem 0; /* 增加上下内边距 */
}

/* 通用全屏 Section 样式 */
.showcase-section {
  min-height: 100vh; /* 关键：占满视口高度 */
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 6rem 2rem; /* 增加内边距 */
  position: relative; /* 用于内部绝对定位元素 */
  overflow: hidden; /* 防止内部动画溢出 */
  box-sizing: border-box;
  flex-shrink: 0; /* 防止 section 被压缩 */
}

/* Feature Sections */
.feature-section-fullpage {
  /* 默认背景，可被覆盖 */
  background-color: #ffffff;
}
.bg-gradient-1 {
  background: linear-gradient(135deg, #b3d9ff 0%, #ffffff 50%, #d9eaff 100%);
  background-size: 400% 400%;
  animation: gradientShift 12s linear infinite;
}
.bg-gradient-2 {
  background: linear-gradient(135deg, #ffd1e3 0%, #ffffff 50%, #ffe8f0 100%);
  background-size: 400% 400%;
  animation: gradientShift 14s linear infinite;
}
.bg-gradient-3 {
  background: linear-gradient(135deg, #d1ffd6 0%, #ffffff 50%, #eafff0 100%);
  background-size: 400% 400%;
  animation: gradientShift 11s linear infinite;
}

.feature-content-split {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 4rem;
  width: 100%;
  max-width: 1200px; /* 限制内容最大宽度 */
}
.feature-content-split.reverse {
  flex-direction: row-reverse;
}
.feature-text-content {
  flex: 1;
  max-width: 500px; /* 限制文本宽度 */
}
.feature-icon-inline {
  font-size: 2.5rem;
  color: #007aff;
  margin-bottom: 1.5rem;
  display: block;
}
.showcase-section-headline {
  font-size: 3rem; /* 特性标题 */
  font-weight: 600;
  line-height: 1.25;
  margin-bottom: 1.5rem;
  color: #1a1a1a;
}
.showcase-section-text {
  font-size: 1.15rem;
  color: #444;
  line-height: 1.7;
}
.feature-visual-placeholder {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 400px; /* 给视觉元素留出空间 */
}
.visual-box { /* 视觉占位符样式 */
  width: 80%;
  height: 350px; /* 稍微增加高度 */
  background-color: rgba(255, 255, 255, 0.5); /* 使用半透明白色 */
  border-radius: 30px; /* 增加圆角 */
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 5rem; /* 增大图标大小 */
  color: rgba(0, 122, 255, 0.6); /* 调整图标颜色和透明度 */
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05); /* 添加柔和阴影 */
  backdrop-filter: blur(10px); /* 添加模糊效果 (如果背景复杂) */
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.2); /* 添加细微边框 */
}
/* 为不同特性调整图标颜色 */
.visual-dialogue .el-icon { color: rgba(0, 122, 255, 0.6); }
.visual-models .el-icon { color: rgba(255, 45, 85, 0.6); }
.visual-history .el-icon { color: rgba(52, 199, 89, 0.6); }

/* Tech Stack Section */
.tech-section-fullpage {
  background-color: #1c1c1e; /* 深色背景保持不变，不加动画 */
  color: #f5f5f7;
  text-align: center;
}
.tech-content-centered {
  max-width: 800px;
}
.text-light { color: #f5f5f7; }
.text-light-muted { color: #a1a1a6; }
.tech-logos {
  margin-top: 3rem;
  display: grid; /* 改为 Grid 布局 */
  grid-template-columns: repeat(3, 1fr); /* 创建三列 */
  justify-items: center; /* 水平居中 */
  align-items: center; /* 垂直居中 */
  gap: 2rem 1.5rem; /* 行间距和列间距 */
  font-size: 1.2rem; /* 稍微调整字体大小 */
  font-weight: 500;
  color: #a1a1a6;
  max-width: 600px; /* 限制最大宽度，使其居中 */
  margin-left: auto;
  margin-right: auto;
}
.tech-logos span {
  transition: color 0.3s ease;
}
.tech-logos span:hover {
  color: #f5f5f7;
}

/* Final CTA Section */
.final-cta-fullpage {
  background: linear-gradient(135deg, #b0c8ff 0%, #f8f9fa 50%, #c8d8ff 100%);
  background-size: 400% 400%;
  animation: gradientShift 13s linear infinite;
  text-align: center;
}
.cta-content-centered {
  max-width: 700px;
}
.showcase-cta-headline {
  font-size: 3.5rem;
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 2.5rem;
}
.showcase-cta-main.large {
  padding: 1.2rem 3rem;
  font-size: 1.3rem;
}

/* Footer */
.landing-footer {
  padding: 3rem 0; /* 增加页脚内边距 */
  text-align: center;
  background-color: #f8f9fa; /* 页脚背景色 */
  border-top: 1px solid #eee;
  color: var(--text-light);
  font-size: 0.9rem;
}

.showcase-footer {
  padding: 3rem 1rem;
  text-align: center;
  background-color: #f8f9fa;
  color: #6c757d;
  font-size: 0.9rem;
  width: 100%; /* 确保页脚宽度 */
  box-sizing: border-box; /* 包含 padding */
  flex-shrink: 0; /* 防止页脚被压缩 */
}

.designed-by {
  margin-bottom: 1rem;
  font-style: italic;
}

.footer-links {
  margin-bottom: 1.5rem;
  display: flex;
  justify-content: center;
  gap: 1.5rem;
}

.footer-links a {
  color: var(--text-light);
  text-decoration: none;
  transition: color 0.3s ease;
  display: inline-flex; /* 让图标和文字对齐 */
  align-items: center;
  gap: 0.3rem;
}

.footer-links a:hover {
  color: var(--primary-color);
}

.footer-links .el-icon {
  font-size: 1.1rem; /* 调整图标大小 */
}

/* 响应式调整 */
@media (max-width: 992px) {
  .showcase-headline { font-size: 3.5rem; }
  .showcase-subheadline { font-size: 1.4rem; }
  .showcase-section-headline { font-size: 2.5rem; }
  .showcase-section-text { font-size: 1.1rem; }
  .feature-content-split { flex-direction: column; gap: 3rem; text-align: center; }
  .feature-content-split.reverse { flex-direction: column; } /* 保持列布局 */
  .feature-text-content { max-width: 600px; }
  .feature-visual-placeholder { min-height: 300px; width: 100%; max-width: 500px; }
  .visual-box { width: 100%; height: 250px; }
  .tech-logos { font-size: 1.1rem; gap: 1rem 2rem; }
  .showcase-cta-headline { font-size: 2.8rem; }
}

@media (max-width: 768px) {
  .showcase-headline { font-size: 2.8rem; }
  .showcase-subheadline { font-size: 1.2rem; }
  .showcase-cta-main { padding: 0.8rem 2rem; font-size: 1.1rem; }
  .showcase-section { padding: 5rem 1rem; }
  .showcase-section-headline { font-size: 2rem; }
  .showcase-section-text { font-size: 1rem; }
  .feature-icon-inline { font-size: 2rem; margin-bottom: 1rem; }
  .tech-logos {
    grid-template-columns: repeat(2, 1fr); /* 移动端改为两列 */
    font-size: 1rem;
    gap: 1.5rem 1rem;
  }
  .showcase-cta-headline { font-size: 2.2rem; }
  .showcase-cta-main.large { padding: 1rem 2.5rem; font-size: 1.2rem; }
}

/* AOS Animations */
[data-aos] {
  opacity: 0;
  transform: translateY(20px); /* 添加初始位移 */
  transition-property: transform, opacity;
  transition-duration: 0.8s; /* 确保过渡时间和 AOS 初始化一致 */
  transition-timing-function: ease-out;
}

/* AOS 触发后的状态 */
[data-aos].aos-animate {
  opacity: 1;
  transform: translateY(0);
}



